package vip

import (
	"github.com/beherochuling/beesoft_api/app/model"
	"github.com/beherochuling/beesoft_api/app/model/entity"
)

// ## Vip

type AccountListRequest struct {
	model.Pagination
}
type AccountListResponse struct {
}
type AccountShowRequest struct {
}
type AccountShowResponse struct {
}
type AccountStoreRequest struct {
	entity.VipVips
}
type AccountStoreResponse struct {
}
type AccountUpdateRequest struct {
	entity.VipVips
}
type AccountUpdateResponse struct {
}

// ## Log

type LogListRequest struct {
	model.Pagination
}
type LogStoreRequest struct {
	entity.VipLogs
}
type LogUpdateRequest struct {
	entity.VipLogs
}

// ## Constant

type ConstantItem struct {
	Id        uint   `p:"id" json:"id"        `          //
	Type      uint   `p:"type" json:"type"      `        //
	Slug      uint   `p:"slug" json:"slug"      `        //
	Name      string `p:"name" json:"name"      `        //
	Title     string `p:"title" json:"title"     `       //
	Remark    string `p:"remark" json:"remark"    `      //
	CreatedIp string `p:"created_ip" json:"created_ip" ` //
	CreatedBy uint   `p:"created_by" json:"created_by" ` //
}
type ConstantItemResponse struct {
	ConstantItem
	model.Time
}
type ConstantListRequest struct {
	model.Pagination
	model.TimeSearch
	ConstantItem
	Slug *uint `json:"slug"      ` //
}
type ConstantListResponse []ConstantItemResponse
type ConstantShowResponse ConstantItemResponse
type ConstantStoreRequest struct {
	ConstantItem
}
type ConstantUpdateRequest struct {
	ConstantItem
	CreatedIp uint `json:"created_ip" ` //
}
